package com.compiler.lexico.action;

import java.io.IOException;
import java.io.RandomAccessFile;

import com.compiler.lexico.token.SymbolTable;
import com.compiler.lexico.token.Token;

public abstract class AbstractAction {
	protected Token token;
	protected SymbolTable symbolTable;
	
	public AbstractAction(Token token, SymbolTable symbolTable) { 
		this.token = token;
		this.symbolTable = symbolTable;
	}
	
	public abstract void exec(RandomAccessFile raf) throws IOException;
	public abstract String toString();
}
